<template>
	<view>{{time}}</view>
</template>

<script>
	import {formatTime} from './format.js'
	export default {
		props:{
			timetamp:{
				type: String,
			}
		},
		computed: {
			time(){
				return formatTime(this.timetamp)
			}
		}
	}
</script>

